package com.jic.order.request;

import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.Data;

@Data
public class FrontParentOrderGoodsRequest {

	@ApiModelProperty(notes = "商品id")
	private long goodsId;
	@ApiModelProperty(notes = "商品类型，对应枚举com.jic.order.enums.GoodsTypeEnum")
	private Integer goodsType;
	@ApiModelProperty(notes = "商品数量")
	private Integer goodsNum;
	@ApiModelProperty(notes = "商品名称")
	private String goodsName;
	@ApiModelProperty(notes = "商品图片地址，用于用户订单列表展示")
	private String goodsImgUrl;
	@ApiModelProperty(notes = "商户ID")
	private long merchantId;
	@ApiModelProperty(notes = "商户名称")
	private String merchantName;
	@ApiModelProperty(notes = "店铺ID")
	private long storeId;
	@ApiModelProperty(notes = "店铺名称")
	private String storeName;
	@ApiModelProperty(notes = "店铺logo的url")
	private String storeLogoUrl;
	@ApiModelProperty(notes = "销售单价，对应销售总金额")
	private BigDecimal saleUnitPrice;
	@ApiModelProperty(notes = "优惠单价，对应优惠总金额")
	private BigDecimal discountUnitPrice;
	@ApiModelProperty(notes = "购买单价，对应购买总金额")
	private BigDecimal buyUnitPrice;
	@ApiModelProperty(notes = "物流平摊单价")
	private BigDecimal expressUnitFee;
	@ApiModelProperty(notes = "实付总金额，实付总金额=（购买单价+物流平摊单价）*数量")
	private BigDecimal actualPayTotalAmount;
	@ApiModelProperty(notes = "活动Id")
	private String promotionId;
	@ApiModelProperty(notes = "类型:1单一促销,2满量促销,3满额促销,4秒杀,5赠送类促销,6组合促销7.单品X件优惠,8换购,9预售,11优惠券")
	private Integer promotionType;
	@ApiModelProperty(notes = " 1.开团 2.参团")
	private Integer groupType;
	private Long distributorId;
}
